<?php header('content-type:text/html;charset=utf-8');?>
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html ;charset=utf-8" />
<head>
	<include file="Public:header" />
	<style>
		body{ background:#f2f2f2;}
		.error-box{ width:1100px; margin:10% auto;}
		.error-img{ text-align:center;}
		.error-content{ text-align:center;}
		.error-content strong{ font-size:18px; color:#e8411b; font-weight:bold;}
		.error-content p{ font-size:18px; color:#b3b3b3; padding-top:50px;}
		.org,.org a,.org a:hover,.a.org,a:hover.org{ color:#ff5601;}
	</style>
</head>
<body>
	<div class="error-box">
		<div class="error-img">
			<img src="<?php echo __ROOT__.'/Public/error';?>/img/tips.png"/>
		</div>
		<div class="clearfix"></div>
		<div class="error-content">
				<strong><h1><?php echo strip_tags($e['message']);?></h1></strong>
				<?php if(isset($e['file'])) {?>
				<h3>错误位置</h3>
				<span>FILE: <?php echo $e['file'] ;?> &#12288;LINE: <?php echo $e['line'];?></span>
				<?php }?>
				<?php if(isset($e['trace'])) {?>
					<div class="info">
						<div class="title">
							<h3>TRACE</h3>
						</div>
						<div class="text">
							<p><?php echo nl2br($e['trace']);?></p>
						</div>
					</div>
				<?php }?>
			<p><a class="org" href="<?php echo __ROOT__;?>">返回首页</a></p>
		</div>
	</div>
</body>

</html>
